import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueCookies from 'vue-cookies'
import util from './util/util'
import loanapplyReady from './util/loanapplyReady'
import 'styles/reset.css'
import 'styles/border.css'
import 'swiper/dist/css/swiper.css'
import 'jquery-weui/dist/css/jquery-weui.css'
import 'jquery-weui/dist/js/jquery-weui.js'
import 'jquery-weui/dist/js/city-picker.js'
import 'weui/dist/style/weui.css'
import store from './store'
import $ from 'jquery'
window.jQuery = $
window.$ = $
Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.prototype.util = util
Vue.prototype.loanapplyReady = loanapplyReady
Vue.use(VueCookies)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
